package com.jinghua.treatment.service;

import com.jinghua.treatment.entity.Medical;
import com.jinghua.treatment.entity.UsualPrescriptionVO;
import com.jinghua.treatment.entity.vo.PrescriptionVO;

import java.util.List;
import java.util.Map;

/**
 * Created by LV
 */
public interface PrescriptionService {

    int countAllPrescriptions(String userId);

    int countStatePrescriptions(Map map);

    void savePrescription(PrescriptionVO prescriptionVO);

   /* List<PrescriptionVO> selectAllPrescriptions(PrescriptionVO param);

    List<PrescriptionDetailVO> getPrescriptionDetailById(String id);*/

    List<UsualPrescriptionVO> selectAllUsualPrescription(String userId);

   /* int addPrescription(PrescriptionVO param);*/

    int addUsualPrescription(UsualPrescriptionVO param);

    List<Medical> getMedicalByName(String name);

    Double getPrescriptionPriceByMedical(Map param);
}
